<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Decodes a gzip compressed string</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.gzdecode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">gzdecode</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.4.0, PHP 7)</p><p class="refpurpose"><span class="refname">gzdecode</span> &mdash; <span class="dc-title">Decodes a gzip compressed string</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.gzdecode-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>gzdecode</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$length</code></span>
  ] ) : <span class="type">string</span></div>

  <p class="para rdfs-comment">   
   This function returns a decoded version of the input
   <code class="parameter">data</code>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.gzdecode-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">data</code></dt>

     <dd>

      <p class="para">
       The data to decode, encoded by <span class="function"><a href="gzencode.html" class="function">gzencode()</a></span>.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">length</code></dt>

     <dd>

      <p class="para">
       The maximum length of data to decode.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.gzdecode-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   The decoded string, or <strong><code>FALSE</code></strong> if an error occurred.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.gzdecode-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="gzencode.html" class="function" rel="rdfs-seeAlso">gzencode()</a> - Create a gzip compressed string</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>